package fangfachongzai;

public class phone {

	String number_phone;
	
	public void sendMessage() {
		System.out.println("打电话");
	}
	
	public phone() {
		System.out.println("父类的无参构造方法");
	}
	
	public phone(String number_phone) {
		System.out.println("父类的有参构造方法");
	}
	
	public void sendMessage(String number_phone) {
		System.out.println("给"+number_phone+"打电话");
	}

}
